# -*- coding:utf-8 -*-
import Pluto,fnmatch,codecs
fl=Pluto.walk('script\\script')
jp=u'''ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞ\
ただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみ\
むめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキ\
ギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノ\
ハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワ\
ヰヱヲンヴヵヶ'''
for fn in fl:
    if not fnmatch.fnmatch(fn,'*.txt'):
        continue
    fp=codecs.open(fn,'rb','utf16')
    lines=fp.readlines()
    jpstring=[]
    for line in lines:
        for index,char in enumerate(line):
            if char in jp:
                jpstring.append(line)
                break
    if len(jpstring)>0:
        print fn
        print '\r\n'.join(jpstring)
